<?php
/* @var $this MemberController */
/* @var $model Member */
/* @var $form CActiveForm */
?>

<div class="search">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>



	<?php echo $form->label($model,'username'); ?>
	<?php echo $form->textField($model,'username',array('size'=>20,'maxlength'=>20,'class'=>'input')); ?>

	<?php echo $form->label($model,'number'); ?>
	<?php echo $form->textField($model,'number',array('size'=>20,'maxlength'=>50,'class'=>'input')); ?>

	<?php echo $form->label($model,'phone'); ?>
	<?php echo $form->textField($model,'phone',array('size'=>20,'maxlength'=>20,'class'=>'input')); ?>

	<?php echo $form->label($model,'service'); ?>
	<?php echo $form->textField($model,'service',array('size'=>20,'maxlength'=>255,'class'=>'input')); ?>


	<?php echo CHtml::submitButton('查 询',array('class'=>'but')); ?>
    
    <input class="but" type="button" name="yt0" value="日 志" onclick="clicklog()">

    <script>
    function clicklog(){
        window.location.href='<?php echo Yii::app()->createUrl('LoginLog/admin'); ?>';
    }
    </script>
<?php $this->endWidget(); ?>

</div><!-- search-form -->